package com.zzyl.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author zzw
 * @date 2025/6/11
 * @description 小程序端分页报警数据返回对象
 */
@Data
@ApiModel("小程序端分页报警数据返回对象")
public class AlertDataPageVo {

    @ApiModelProperty("报警数据值")
    private Double dataValue;

    @ApiModelProperty("报警原因")
    private String alertReason;

    @ApiModelProperty("报警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
}
